package com.example.demo.controller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "测试接口2")
@RequestMapping("/test2")
@RestController
public class TestController2 {

    @GetMapping("/test")
    public String test(){
        return "hello2";
    }
}
